package com.component.domain.vo;

import com.system.validation.annation.IsClass;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Classname JobVo
 * @Description TODO
 * @Date 2023/9/24 0:52
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Data
public class JobVo {

    private Integer id;

    @NotBlank(message = "任务名称不得未空")
    private String jobname;

    /**
     *
     */
    private String cron;


    /**
     *
     */
    @IsClass(message = "反射类不存在")
    private String methodclazz;

    /**
     *
     */
    @NotBlank(message = "备注不得为空")
    private String note;

    /**
     *
     */
    @NotBlank(message = "任务类型不得为空")
    private String type;

    /**
     *
     */
    @NotBlank(message = "任务方法名不得为空")
    private String methodname;



    /**
     *
     */
    private String params;

    /**
     *
     */
    private String timetype;
}
